package com.lxu.report.entity.enums;

/**
 * 报表工具 枚举类
 */
public class ReportEnum {

    /**
     * 导出目录数据类型，单数据就不用进行导出数据配置了，多数据需要进行导出数据配置
     */
    public enum DATA_TYPE {
        SINGLE_DATA("单数据", "1"), MULTIPLE_DATA("多数据", "2"),COMPLEX("多行表单","3");
        private String value;
        private String label;

        private DATA_TYPE(String label, String value) {
            this.value = value;
            this.label = label;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }
    }

    /**
     * 目录类型，1：编译用的，2：导出用的
     */
    public enum DIR_TYPE {
        EDIT("编辑", "1"), EXPORT("导出", "2");
        private String value;
        private String label;

        private DIR_TYPE(String label, String value) {
            this.value = value;
            this.label = label;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }
    }

    /**
     * 数据状态
     */
    public enum DATA_STATUS {
        USED("启用", "1"), UNUSED("停用", "0");
        private String value;
        private String label;

        private DATA_STATUS(String label, String value) {
            this.value = value;
            this.label = label;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }
    }

    /**
     * 模板类型
     */
    public enum TEMPLATE_TYPE {
        LXBG("立项报告", "LXBG"), JDBG("尽调报告", "JDBG"), FKBG("风控报告", "FKBG"),
        FSBG("法务报告", "FWBG"), HTBF("合同及保费", "HTBF"),DBQR("担保函","DBQR"),
        FKTZ("放款通知","FKTZ"),XMSP("项目审批书","XMSP"),BHBG("保后报告","BHBG"),
        YJBG("预警报告","YJBG"),DCBG("代偿报告","DCBG");
        private String value;
        private String label;

        private TEMPLATE_TYPE(String label, String value) {
            this.value = value;
            this.label = label;
        }

        public String getLabel() {
            return label;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }
    }

    /**
     * 模板类型
     */
    public enum CONTRACT_TYPE {
        WTBZHT("委托保证合同", "1"), BZHT("保证合同", "2"), FDBBZHTFR("反担保保证合同（法人）", "3"), FDBBZHTFFR("反担保保证合同（非法人）", "4"), FDBDYHT("反担保抵押合同", "5"), FDBZYHT("反担保质押合同", "6");
        private String value;
        private String label;

        private CONTRACT_TYPE(String label, String value) {
            this.value = value;
            this.label = label;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }
    }
}
